package bavaria.hightech.testit.factorypattern.abstractfactory;

public class MuenchenPizzeria extends Pizzaria {

	@Override
	Pizza erstellePizza(String element) {	
		if(element.equals("Salami")){
			return new MuenchnerSalamiPizza();
		}else if(element.equals("Schinken")){
			return new MuenchnerSchinkenPizza();
		}else if(element.equals("Krabben")){
			return new MuenchnerKrabbenPizza();
		}else if(element.equals("Thunfisch")){
			return new MuenchnerThunfischPizza();
		}else return null;
		
	}

}
